package com.haoqizhe.kernel.commons.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 条件
 *
 * @author haoqizhe.li
 * @date 2018/4/7 20:10
 */
@Getter
@AllArgsConstructor
public enum ConditionEnum {

    /**
     * 条件判断
     **/
    EQ("eq", "等于"),
    /**
     * 条件判断
     **/
    NE("ne", "不等于"),
    @Deprecated
    NOT_EQ("n_eq", "不等于"),
    /**
     * 条件判断
     **/
    LIKE("like", "相似"),
    /**
     * 条件判断
     **/
    NL("nl", "不相似"),
    @Deprecated
    NOT_LIKE("n_like", "不相似"),
    /**
     * 条件判断
     **/
    IN("in", "包含"),
    /**
     * 条件判断
     **/
    NI("ni", "不包含"),
    @Deprecated
    NOT_IN("n_in", "不包含"),
    /**
     * 条件判断
     **/
    NULL("null", "为空"),
    /**
     * 条件判断
     **/
    NN("nn", "不为空"),
    @Deprecated
    NOT_NULL("n_null", "不为空"),
    /**
     * 条件判断
     **/
    GE("ge", "大于等于"),
    /**
     * 条件判断
     **/
    GT("gt", "大于"),
    /**
     * 条件判断
     **/
    LE("le", "小于等于"),
    /**
     * 条件判断
     **/
    LT("lt", "小于");

    public final String code;
    public final String message;
}
